package com.ai.platform.business.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yeyingsheng
 * @since 2018-06-02
 */
@TableName("busi_report")
public class BusiReport extends Model<BusiReport> {

    private static final long serialVersionUID = 1L;

    @TableId("report_id")
    private Integer reportId;
    /**
     * 报表名称
     */
    @TableField("report_name")
    private String reportName;
    /**
     * 报表描述
     */
    @TableField("report_desc")
    private String reportDesc;
    /**
     * 报表查询SQL
     */
    @TableField("report_sql")
    private String reportSql;
    /**
     * 数据库配置
     */
    @TableField("db_id")
    private Integer dbId;
    /**
     * 报表排序
     */
    @TableField("order_no")
    private Integer orderNo;
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;


    public Integer getReportId() {
        return reportId;
    }

    public void setReportId(Integer reportId) {
        this.reportId = reportId;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportDesc() {
        return reportDesc;
    }

    public void setReportDesc(String reportDesc) {
        this.reportDesc = reportDesc;
    }

    public String getReportSql() {
        return reportSql;
    }

    public void setReportSql(String reportSql) {
        this.reportSql = reportSql;
    }

    public Integer getDbId() {
        return dbId;
    }

    public void setDbId(Integer dbId) {
        this.dbId = dbId;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.reportId;
    }

    @Override
    public String toString() {
        return "BusiReport{" +
        ", reportId=" + reportId +
        ", reportName=" + reportName +
        ", reportDesc=" + reportDesc +
        ", reportSql=" + reportSql +
        ", dbId=" + dbId +
        ", orderNo=" + orderNo +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
